<!DOCTYPE html>
<html>
<head>
<title>AngularJS $http Example</title>
</head>
<body ng-app="myApp">
	<div ng-controller="QuestionController as ctrl">
		<table>
			<thead>
				<tr>
					<th>ID.</th>
					<th>Title</th>
					<th>Content</th>
					<th>Created Timestamp</th>
					<th>Last Modified Timestamp</th>
					<th width="20%"></th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="u in ctrl.questions">
					<td><span ng-bind="u.id"></span></td>
					<td><span ng-bind="u.title"></span></td>
					<td><span ng-bind="u.content"></span></td>
					<td><span ng-bind="u.createdTimestamp"></span></td>
					<td><span ng-bind="u.lastModifiedTimestamp"></span></td>
					<td>
						<button type="button" ng-click="">Edit</button>
						<button type="button" ng-click="">Remove</button>
					</td>
				</tr>
			</tbody>
		</table>
	</div>

	<script src="../../../asset/lib/angular.min.js"></script>
	<script src="../../app.js"></script>
	<script src="questionController.js"></script>
	<script src="questionService.js"></script>
</body>
</html>
